/*! ******************************************************************************
 *
 * Created on 2022-08-01
 *
 * Copyright(c) YuZhou Big Data Laboratory CO.,Ltd, 2022.  All rights reserved.
 *
 *******************************************************************************
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 ******************************************************************************/
package org.yzbdl.lanius.ui.plugindto;

import java.util.Date;
import java.util.List;

/**
 * @author yzbdl@yzbdl.ac.cn
 * @version: 1.0
 * @Date 2020/10/19 14:49
 **/
public class LocalPluginDto {

    public String code;
    public String msg;
    public long timestamp;
    public List<DataBean> data;

    /**
     * 获取code
     *
     * @return code
     */
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取msg
     *
     * @return msg
     */
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * 获取timestamp
     *
     * @return timestamp
     */
    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    /**
     * 获取data
     *
     * @return data
     */
    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        public String id;
        public String version;
        public String plugin_name;
        public String plugin_meta_id;
        public String plugin_type_code_str;
        public String description;
        public String download_number;
        public String avg_score;
        public String plugin_size;
        public int charge_type;
        public String plugin_path;
        public String icon_path;
        public String real_name;
        public String pluginTypeClass;
        public Date createTime;

        /**
         * 获取pluginTypeClass
         *
         * @return pluginTypeClass
         */
        public String getPluginTypeClass() {
            return pluginTypeClass;
        }

        public void setPluginTypeClass(String pluginTypeClass) {
            this.pluginTypeClass = pluginTypeClass;
        }

        /**
         * 获取id
         *
         * @return id
         */
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        /**
         * 获取version
         *
         * @return version
         */
        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        /**
         * 获取plugin_name
         *
         * @return plugin_name
         */
        public String getPlugin_name() {
            return plugin_name;
        }

        public void setPlugin_name(String plugin_name) {
            this.plugin_name = plugin_name;
        }

        /**
         * 获取plugin_meta_id
         *
         * @return plugin_meta_id
         */
        public String getPlugin_meta_id() {
            return plugin_meta_id;
        }

        public void setPlugin_meta_id(String plugin_meta_id) {
            this.plugin_meta_id = plugin_meta_id;
        }

        /**
         * 获取plugin_type_code_str
         *
         * @return plugin_type_code_str
         */
        public String getPlugin_type_code_str() {
            return plugin_type_code_str;
        }

        public void setPlugin_type_code_str(String plugin_type_code_str) {
            this.plugin_type_code_str = plugin_type_code_str;
        }

        /**
         * 获取description
         *
         * @return description
         */
        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        /**
         * 获取download_number
         *
         * @return download_number
         */
        public String getDownload_number() {
            return download_number;
        }

        public void setDownload_number(String download_number) {
            this.download_number = download_number;
        }

        /**
         * 获取avg_score
         *
         * @return avg_score
         */
        public String getAvg_score() {
            return avg_score;
        }

        public void setAvg_score(String avg_score) {
            this.avg_score = avg_score;
        }

        /**
         * 获取plugin_size
         *
         * @return plugin_size
         */
        public String getPlugin_size() {
            return plugin_size;
        }

        public void setPlugin_size(String plugin_size) {
            this.plugin_size = plugin_size;
        }

        /**
         * 获取charge_type
         *
         * @return charge_type
         */
        public int getCharge_type() {
            return charge_type;
        }

        public void setCharge_type(int charge_type) {
            this.charge_type = charge_type;
        }

        /**
         * 获取plugin_path
         *
         * @return plugin_path
         */
        public String getPlugin_path() {
            return plugin_path;
        }

        public void setPlugin_path(String plugin_path) {
            this.plugin_path = plugin_path;
        }

        /**
         * 获取icon_path
         *
         * @return icon_path
         */
        public String getIcon_path() {
            return icon_path;
        }

        public void setIcon_path(String icon_path) {
            this.icon_path = icon_path;
        }

        /**
         * 获取real_name
         *
         * @return real_name
         */
        public String getReal_name() {
            return real_name;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public Date getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }
    }
}
